TELAcceptCall
Accepts an incoming call.
pascal TELErr TELAcceptCall (TELCAHandle hTELCA);
hTELCA
- A handle to a call appearance structure for the incoming call. You obtain this handle from the
telCAOfferMsg
message.- function result
- A result code.
DESCRIPTION
TheTELAcceptCall
function accepts a call that is being offered at the telephone terminal, if the call is acceptable. When a call is being offered, your call appearance message handler receives atelCAOfferMsg
message.A call is acceptable if the
acceptable
bit in theotherFeatures
field of the call appearance structure specified by thehTELCA
parameter is set. If the call is not acceptable, you can ignore the call or call theTELRejectCall
function (page 4-31) to reject it.If
TELAcceptCall
returnsnoErr
, the state of the call appearance changes totelCAAlertingState
and your call appearance message handler receives atelCAAlertingMsg
message.You can then call theTELAnswerCall
function (page 4-30) to answer the call.SEE ALSO
Calling theTELAnswerCall
function (page 4-30) is also a valid response to aCAOfferMsg
message. For more information, see the description of theCAOfferMsg
message.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help